<%= render partial: "decidim/comments/comments/delete", formats: [:html], locals: { comment: model } %>

<div data-comment-footer data-controller="accordion" id="accordion-<%= model.id %>">
  <div id="comment-<%= model.id %>-replies" class="<%= "comment-reply" if has_replies_in_children? %>">
    <% if has_replies_in_children? %>
      <%= render :replies %>
    <% end %>
  </div>
</div>
